翻訳と辞書
Words near each other
・ Qualiano
・ Qualibou
・ Qualicum Bay
・ Qualicum Beach
・ Qualicum Beach Airport
・ Qualicum Beach railway station
・ Qualicum College
・ Qualicum First Nation
・ Qualicum National Wildlife Area
・ Qualicum River
・ Qualicum-Graham Park
・ QualiEd College
・ Qualification
・ Qualification (disambiguation)
・ Qualification of Women (County and Borough Councils) Act 1907
Qualification principle
・ Qualification problem
・ Qualification Test Guide
・ Qualification types (UK)
・ Qualifications and Credit Framework
・ Qualifications and Curriculum Development Agency
・ Qualifications for professional social work
・ Qualifications of Men
・ Qualifications, Curriculum and Assessment Authority for Wales
・ Qualifications-Based Selection
・ Qualified Chapel
・ Qualified dividend
・ Qualified Domestic Institutional Investor
・ Qualified domestic relations order
・ Qualified Flying Instructor


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Qualification principle : ウィキペディア英語版
Qualification principle
In programming language theory, the qualification principle states that any semantically meaningful syntactic class may admit local definitions. In other words, it's possible to include a ''block'' in any syntactic class, provided that the phrases of that class specify some kind of computation.
A common examples for of this principle includes:
* block command -- a command containing a local declaration, which is used only for executing this command. In the following excerpt from a C program, tmp variable declared is local to the surrounding block command:

if (a > b)

* block expression -- an expression containing a local declaration, which is used only for evaluating this expression. In the following excerpt from ML program, local declaration of g can be used only during evaluation of the following expression:


let
val g = 9.8
in
m
* g
* h
end

* block declaration is one containing a local declaration, the bindings produced by which are used only for elaborating the block declaration. In the following excerpt from ML program, local declaration of function leap, using an auxiliary function multiple:


local
fun multiple (n: int, d: int) =
(n mod d = 0)
in
fun leap (y: int) =
(multiple (y,4)
andalso not multiple (y, 100))
orelse multiple (y,400)
end

== References ==

*


抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Qualification principle」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.